<?php
/**
 * CakeCMS - 后台首页
 * 功能模块:
 *
 * @author zzdboy
 * @version 1.0
 */
class SearchController extends AppController {
	public $components = array (
			'CheckUserPermission' 
	);
	
	/**
	 * 初始化执行
	 *
	 * @see AppController::beforeFilter()
	 */
	public function beforeFilter() {
		parent::beforeFilter ();
		
		// 判断是否登录
		$this->CheckUserPermission->checkLogin ( $this );
		
		$this->set ( 'title_for_layout', 'CakeCMS后台搜索' );
	}
	public function index() {
		$this->set ( 'title_for_layout', 'CakeCMS后台搜索' );
	}
}
?>